package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 产品套餐关系对象 pc_combo_pro
 * 
 * @author ruoyi
 * @date 2022-07-28
 */
@ApiModel(value = "PcComboPro",description = "产品套餐关系对象 pc_combo_pro")
public class PcComboPro extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品套餐关系表ID */
    private Long id;

    /** 套餐ID */
    @ApiModelProperty(value="套餐ID",name="PcComboPro$proComboId")
    @Excel(name = "套餐ID")
    private Long proComboId;

    /** 产品ID */
    @ApiModelProperty(value="产品ID",name="PcComboPro$proId")
    @Excel(name = "产品ID")
    private Long proId;

    /** 产品数量 */
    @ApiModelProperty(value="产品数量",name="PcComboPro$comboAmount")
    @Excel(name = "产品数量")
    private Long comboAmount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProComboId(Long proComboId) 
    {
        this.proComboId = proComboId;
    }

    public Long getProComboId() 
    {
        return proComboId;
    }
    public void setProId(Long proId) 
    {
        this.proId = proId;
    }

    public Long getProId() 
    {
        return proId;
    }
    public void setComboAmount(Long comboAmount) 
    {
        this.comboAmount = comboAmount;
    }

    public Long getComboAmount() 
    {
        return comboAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("proComboId", getProComboId())
            .append("proId", getProId())
            .append("comboAmount", getComboAmount())
            .toString();
    }
}
